package com.partition.mysql.interfaze;


import com.partition.mysql.bean.PartitionItem;

/**
 * ClassName: PartitionHandler <br/>
 * Description: 分区策略增强策略接口 <br/>
 *
 * @author hexl
 * @version 1.0.0
 * @since 1.8
 */
public interface PartitionHandler {

    /**
     * 对表分区
     *
     * @param item
     * @return
     */
    public void partition(PartitionItem item);

    /**
     * 定时任务处理表分区
     *
     * @param item
     * @return
     */
    public void partitionJob(PartitionItem item);
}
